package com.farm.monitors.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 监测管理对象 monitors
 * 
 * @author yd
 * @date 2024-03-17
 */
public class Monitors extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 监测编号 */
    private Long monitorsId;

    /** 农作物名称 */
    @Excel(name = "农作物名称")
    private String monitorsName;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitorsTime;

    /** 检测人员 */
    @Excel(name = "检测人员")
    private String monitorsUser;

    /** 天气情况 */
    @Excel(name = "天气情况")
    private String monitorsWeather;

    /** 生长阶段 */
    @Excel(name = "生长阶段")
    private String monitorsGrow;

    /** 叶片形态 */
    @Excel(name = "叶片形态")
    private String monitorsLeaf;

    /** 检测结果 */
    @Excel(name = "检测结果")
    private String monitorsResult;

    /** $table.subTable.functionName信息 */
    private List<Monitor> monitorList;

    public void setMonitorsId(Long monitorsId) 
    {
        this.monitorsId = monitorsId;
    }

    public Long getMonitorsId() 
    {
        return monitorsId;
    }
    public void setMonitorsName(String monitorsName) 
    {
        this.monitorsName = monitorsName;
    }

    public String getMonitorsName() 
    {
        return monitorsName;
    }
    public void setMonitorsTime(Date monitorsTime) 
    {
        this.monitorsTime = monitorsTime;
    }

    public Date getMonitorsTime() 
    {
        return monitorsTime;
    }
    public void setMonitorsUser(String monitorsUser) 
    {
        this.monitorsUser = monitorsUser;
    }

    public String getMonitorsUser() 
    {
        return monitorsUser;
    }
    public void setMonitorsWeather(String monitorsWeather) 
    {
        this.monitorsWeather = monitorsWeather;
    }

    public String getMonitorsWeather() 
    {
        return monitorsWeather;
    }
    public void setMonitorsGrow(String monitorsGrow) 
    {
        this.monitorsGrow = monitorsGrow;
    }

    public String getMonitorsGrow() 
    {
        return monitorsGrow;
    }
    public void setMonitorsLeaf(String monitorsLeaf) 
    {
        this.monitorsLeaf = monitorsLeaf;
    }

    public String getMonitorsLeaf() 
    {
        return monitorsLeaf;
    }
    public void setMonitorsResult(String monitorsResult) 
    {
        this.monitorsResult = monitorsResult;
    }

    public String getMonitorsResult() 
    {
        return monitorsResult;
    }

    public List<Monitor> getMonitorList()
    {
        return monitorList;
    }

    public void setMonitorList(List<Monitor> monitorList)
    {
        this.monitorList = monitorList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitorsId", getMonitorsId())
            .append("monitorsName", getMonitorsName())
            .append("monitorsTime", getMonitorsTime())
            .append("monitorsUser", getMonitorsUser())
            .append("monitorsWeather", getMonitorsWeather())
            .append("monitorsGrow", getMonitorsGrow())
            .append("monitorsLeaf", getMonitorsLeaf())
            .append("monitorsResult", getMonitorsResult())
            .append("monitorList", getMonitorList())
            .toString();
    }
}
